<?php
    // 7/21/2012: tunv rewrite this code
    class livechatmodule 
    {
        function name() { return "Live Chat"; }
        function description() { return "Live Chat."; }
        function author() { return "ABSoft.vn"; }

        function hasSources() { return true; }
        function hasContent() { return true; }
        function hasViews() { return true; }

        function supportsWorkflow() { return false; }

        function permissions($internal = "") {
            return array(
                'administrate'=>'Administrate',
                'configure'=>'Configure',
                'create'=>'Create Links',
                'edit'=>'Edit Links',
                'delete'=>'Delete Links'
            );
        }

        function show($view,$loc = null, $title = "") 
        {
            $template = new template('livechatmodule',$view,$loc);
            $template->assign('moduletitle',$title);
            $template->register_permissions(array('administrate','configure','create','edit','delete'),$loc);
            $template->output();
        }

        function deleteIn($loc) {
            
        }

        function copyContent($oloc,$nloc) {
            
        }

        function searchName() {
            
        }
        function spiderTemplate($album)
        {
           
        }
        function spiderContent($item = null) 
        {
            
        }
    }

?>
